package org.example.design.designmode.proxy.jdkproxy.house;




import java.io.FileOutputStream;

public class HourseProxyTest {
    public static void main(String[] args) {

//        org.example.design.designmode.proxy.jdkProxy.house.HouseProxy s= new org.example.design.designmode.proxy.jdkProxy.house.HouseProxy();
//        org.example.design.designmode.proxy.jdkProxy.house.HouseService pe = s.getInstance(new org.example.design.designmode.proxy.jdkProxy.house.LiuXing());
//        pe.findhouse();
//        System.out.println(pe);
//
//        byte[] bytes = ProxyGenerator.generateProxyClass("$Proxy0@538", new Class[]{houseProxy.class});
//
//        try {
//            FileOutputStream os = new FileOutputStream("E://Proxy0");
//            os.write(bytes);
//            os.close();
//        } catch (Exception e) {
//            e.printStackTrace();
//        }


    }
}
